<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/Money/tpl/imporgeneral.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>入库费用分摊</span>
        </div>
        <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <div class="layui-tab layui-tab-card">
                            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form" style="margin-top: 15px">
                                <div class="layui-inline">
                                    <label class="layui-form-label">费用编号</label>
                                    <div class="layui-input-inline">
                                        <input class="text layui-input" type="text"  name="costCode" autocomplete="off">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">创建日期</label>
                                    <div class="layui-input-inline">
                                        <input type="text" class="layui-input starttime" name="createDateStart" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="createDateEnd" placeholder="年 - 月 - 日">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">操作员</label>
                                    <div class="layui-input-inline" style="width: 200px">
                                        <div id="operationCode" class="xm-select-demo" style="width: 200px"></div>
                                    </div>
                                </div>
                                <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="submitform" style="margin-left: 10px">搜索</button>
                                <button type="reset" class="layui-btn layui-btn-sm layui-btn-submit">重置</button>

                                <table class="layui-table" id="mains" lay-filter="mainstable"></table>
                                <table class="layui-table" id="childinformation" lay-filter="childinformationtable"></table>
                                <div class="padding text-right">
<%--                                    <button class="layui-btn layui-btn-sm layui-btn-primary" lay-submit="" lay-filter="form-element">保存</button>--%>
<%--                                    <a class="layui-btn layui-btn-sm layui-btn-danger" id="shutdown">关闭</a>--%>
                                    <button class="layui-btn layui-btn-sm layui-btn-primary" id="save">保存</button>
                                    <button class="layui-btn layui-btn-sm layui-btn-danger" id="shutdown">关闭</button>

                                </div>
                            </form>
                        </div>
                    </div>
                </div>
        </div>
    </div>
</div>
<script type="text/html" id="warehousingcostsharingToolbar">
    <div class="layui-inline">
        <label class="layui-form-label">分摊类型：</label>
        <input type="radio" name="allocationType" lay-filter="allocationType"  value="1" title="数量">
        <input type="radio" name="allocationType" lay-filter="allocationType"  value="2" title="体积">
        <input type="radio" name="allocationType" lay-filter="allocationType"  value="3" title="净重">
        <input type="radio" name="allocationType" lay-filter="allocationType"  value="4" title="毛重">
        <input type="radio" name="allocationType" lay-filter="allocationType"  value="0" title="初始值">
    </div>
</script>
<script type="text/html" id="undertakepersonnelselect">
    <select name="berPersonCode" class="berPersonCode" id="berPersonCode_{{d.tempId}}" lay-filter="berPersonCodeSelect_filter">
    </select>
</script>
<script type="text/html" id="splitTypeSelect">
    <select id="splitType_{{d.tempId}}"  name="allocationType" lay-filter="splitTypeSelect_filter">
        <option value=""></option>
        <option value="1">数量</option>
        <option value="2">体积</option>
        <option value="3">净重</option>
        <option value="4">毛重</option>
    </select>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/modules/xm-select.js"></script>
<script src="statics/js/bignumber.js"></script>
<script src="statics/js/Money/tpl/warehousingcostsharing.js"></script>